<nz-space style="text-align:center">
  <input *nzSpaceItem nz-input placeholder="输入名字 " style="width: 100px" [(ngModel)]="username"/>
  <button *nzSpaceItem nz-button nzType="primary"
          (click)="search()"
          [nzLoading]="searchLoading"
          nz-tooltip nzTooltipTitle="缓存穿透，缓存击穿版查询">
    查询
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">

  <input *nzSpaceItem nz-input placeholder="输入名字 " style="width: 100px" [(ngModel)]="username"/>
  <input *nzSpaceItem nz-input placeholder="输入密码 " style="width: 100px" [(ngModel)]="password"/>

  <button *nzSpaceItem nz-button nzType="primary"
          (click)="edit_delay()"
          [nzLoading]="editDelayLoading"
          nz-tooltip nzTooltipTitle="双写一致性-延时双删">
    修改-延时双删
  </button>
</nz-space>

<br><br>

<nz-space style="text-align:center">

  <input *nzSpaceItem nz-input placeholder="输入名字 " style="width: 100px" [(ngModel)]="username"/>
  <input *nzSpaceItem nz-input placeholder="输入密码 " style="width: 100px" [(ngModel)]="password"/>

  <button *nzSpaceItem nz-button nzType="primary"
          (click)="edit_lock()"
          [nzLoading]="editLockLoading"
          nz-tooltip nzTooltipTitle="双写一致性-分布式锁">
    修改-分布式锁
  </button>
</nz-space>
